package com.mrguo.controller.basedata;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mrguo.common.entity.PageParams;
import com.mrguo.common.entity.Result;
import com.mrguo.interfaces.ApiPermission;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @author 郭成兴
 * @ClassName
 * @Description 系列号管理
 * @date 2020/6/410:58 AM
 * @updater 郭成兴
 * @updatedate 2020/6/410:58 AM
 */
@Api(tags = "序列号管理")
@RestController
@RequestMapping("/serialNumber")
public class SerialNumberController {

    @ApiOperation(value = "分页查询序列号")
    @ApiPermission(value = "serial_number:list", pname = "查询")
    @PostMapping("/listPage")
    public Result getStockList(@RequestBody PageParams<Map<String, Object>> pageParams) throws Exception {
        return null;
    }
}
